package team.soi.cloud.service.goods.model;

import java.io.Serializable;

/**
 * 功能描述: <br/>
 *
 * @author Soi <br/>
 * @version 1.0 2016/8/10 18:40
 * @see
 */
public class Goods implements Serializable {

    private String id;
    private String code;
    private String name;
    private Double price;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "{" +
                "id:'" + id + '\'' +
                ", code:'" + code + '\'' +
                ", name:'" + name + '\'' +
                ", price:" + price +
                '}';
    }
}
